/**
 Copyright (C) 2013 Yuyao Liang

 This source code is release under the BSD License.

 This program is distributed in the hope that it will be useful, but WITHOUT
 ANY WARRANTY; without even the implied warranty of MERCHANTABILITY or FITNESS
 FOR A PARTICULAR PURPOSE.  See the license for more details.

 Created on Nov 6, 2013 4:13:39 PM
 */
package com.googlecode.backtest.document;

import java.io.InputStream;
import java.io.OutputStream;

import com.google.srclib.base.IDable;
import com.google.srclib.base.Versionable;

/**
 * @author lianyuy
 * 
 */
public interface IBackTestDocument<T, A> extends IDable, Versionable {

	IBackTestContent<A> readTemplate(InputStream stream);

	void writeTemplate(OutputStream stream, IBackTestContent<A> content);

	T runBackTest();
}
